package com.xiaobug.demo;


import com.ljb.commlibrary.http.HttpUtils;
import com.ljb.commlibrary.oss.OssUtils;
import com.ljb.commlibrary.oss.v20.OssUtilsV20;
import com.xiaobug.baselibrary.base.BaseAPP;
import com.xiaobug.baselibrary.ui.loadlayout.LoadStateUtils;
import com.xiaobug.demo.oss.OssConfig;

/**
 * Created by ljb on 2018/4/27.
 */

public class APP extends BaseAPP {
    @Override
    public void onCreate() {
        super.onCreate();
        OssUtilsV20.initOss(this, OssConfig.accessKeyId_, OssConfig.accessKeySecret_, OssConfig.endpoint_);
        OssUtils.initOss(this, OssConfig.accessKeyId_, OssConfig.accessKeySecret_, OssConfig.endpoint_);

        HttpUtils.getInstance().init(this);
        LoadStateUtils.init();


    }
}
